{% extends "forum/base.html" %}
{% load i18n %}

{% block body %}

{% include "forum/includes/parent_bar.html" %}

<hr />

{% if IS_MODERATOR %}
{% include "forum/includes/moderate_bar.html" %}

<hr />
{% endif %}

<div class="space">        
    
    {% if topic.attach %}
    <div id="attach_row" class="box">
        {% if topic.attach.attach_warn %}
        <img src="{{MEDIA_URL}}images/forum/sm_virus.png" 
            title='{% trans "This file seems to be infected" %}' 
            alt='{% trans "virus detected"%}'></img>
        {% endif %}
        
        <a title="{{topic.attach.size|filesizeformat}}" 
            href="{{topic.attach.url}}">{% trans "Download attachment" %}</a>
    </div>
    {% endif %}

    {% if topic.image %}
    <div class="topic-header-image box">
        <img style="max-width:100%" alt="Cover picture"
            title="{{topic.image.size|filesizeformat}}" src="{{topic.image.url}}"></img>
    </div>
    {% endif %}
        
    {% include "forum/includes/digg_paginator.html" %}

    <div>
    
    <span id="start" />
    {% if page.object_list.count %}    
        {% for reply in page.object_list %}
            {% include "forum/includes/reply.html" %}
        {% endfor %}    
    {% else %}
    <div class="notice">
        {% trans "This topic is empty. Please, report." %}
    </div>
    {% endif %}
    <span id="end" />
    
    </div> {# fim da borda azul #}

    {% include "forum/includes/digg_paginator.html" %}
    
</div>
{% endblock body %}